package sy.db.mysql.dao;

import java.util.List;
import java.util.Map;

import sy.db.mysql.model.Trole;
/**
 *  @author zxl
 */
public interface TroleDao {
    int deleteByPrimaryKey(String id);

    int insert(Trole record);

    int insertSelective(Trole record);

    Map selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Trole record);

    int updateByPrimaryKey(Trole record);
	
	List<Trole> findbyByGrid(Map map);
	
	List<Map> findRoleByUserIDByGrid(Map params);
}


